package sk.tramtatiri.data.dao.interfaces;

import java.util.Date;
import java.util.List;

import sk.tramtatiri.data.dataobjects.UserInfo;

public interface UserInfoDao extends Dao<UserInfo> {
	public UserInfo findByUserAndDate(final long user_id, final Date date);
	public List<UserInfo> findAllByUserId(final long user_id);
	public List<UserInfo> selectNewest(final long user_id);
	public List<UserInfo> selectFirst(final long user_id);
	public List<UserInfo> selectLastXDays(final long user_id, final int days);
}
